package com.shop.dao;

import com.shop.pojo.Log;
import com.shop.pojo.User;

import java.io.IOException;
import java.util.List;

public interface UserMapper {
    public User login(String username) throws IOException;
    public List<User> selectAllUser(String queryInfo) throws IOException;
    public int addUser(User user) throws IOException;
    public int updatePassword(User user) throws IOException;
    public int deleteUser(String username) throws IOException;
    public int selectCount() throws IOException;
//    public User selectUserByUsername(String username) throws IOException;
}
